package com.gopay.common.domain.cbrmb.internationalcard.masapay;

import java.io.Serializable;

/**
 * refund notify
 * 
 * @ClassName: MasaPayRefundOrderNotifyDTO 
 * @Description: TODO 
 * @author gd.cui 
 * @date 2017年10月26日 下午7:11:37
 */
public class MasaPayRefundOrderNotifyDTO implements Serializable{
	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */
	private static final long serialVersionUID = 1L;
	// 基本参数
	private String version;
	private String charset;
	private String language;
	private String signType;
	private String serviceType;

	// business
	private String refundOrderNo;
	private String merchantOrderNo;
	private String gatewayRefundOrderNo;
	private String submitTime;
	private String dealTime;
	private String currencyCode;
	private String refundAmount;
	private String resultCode;
	private String payMode;
	private String orgCode;
	private String ext1;
	private String ext2;
	private String errCode;
	private String errMsg;
	private String signMsg;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getRefundOrderNo() {
		return refundOrderNo;
	}

	public void setRefundOrderNo(String refundOrderNo) {
		this.refundOrderNo = refundOrderNo;
	}

	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}

	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}

	public String getGatewayRefundOrderNo() {
		return gatewayRefundOrderNo;
	}

	public void setGatewayRefundOrderNo(String gatewayRefundOrderNo) {
		this.gatewayRefundOrderNo = gatewayRefundOrderNo;
	}

	public String getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}

	public String getDealTime() {
		return dealTime;
	}

	public void setDealTime(String dealTime) {
		this.dealTime = dealTime;
	}

	public String getCurrencyCode() {
		return currencyCode;
	}

	public void setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
	}

	public String getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(String refundAmount) {
		this.refundAmount = refundAmount;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getPayMode() {
		return payMode;
	}

	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getSignMsg() {
		return signMsg;
	}

	public void setSignMsg(String signMsg) {
		this.signMsg = signMsg;
	}

	@Override
	public String toString() {
		return "MasaPayRefundOrderNotifyDTO [version=" + version + ", charset=" + charset + ", language=" + language
				+ ", signType=" + signType + ", serviceType=" + serviceType + ", refundOrderNo=" + refundOrderNo
				+ ", merchantOrderNo=" + merchantOrderNo + ", gatewayRefundOrderNo=" + gatewayRefundOrderNo
				+ ", submitTime=" + submitTime + ", dealTime=" + dealTime + ", currencyCode=" + currencyCode
				+ ", refundAmount=" + refundAmount + ", resultCode=" + resultCode + ", payMode=" + payMode
				+ ", orgCode=" + orgCode + ", ext1=" + ext1 + ", ext2=" + ext2 + ", errCode=" + errCode + ", errMsg="
				+ errMsg + ", signMsg=" + signMsg + "]";
	}

	public String signatureData(String key) {
		return "version=" + version + "&charset=" + charset + "&language=" + language + "&signType=" + signType
				+ "&refundOrderNo=" + refundOrderNo + "&merchantOrderNo=" + merchantOrderNo + "&gatewayRefundOrderNo="
				+ gatewayRefundOrderNo + "&submitTime=" + submitTime + "&dealTime=" + dealTime + "&currencyCode="
				+ currencyCode + "&refundAmount=" + refundAmount + "&resultCode=" + resultCode + "&key=" + key;
	}
}
